package com.liy.cloud.common.pw.service.impl;

import com.liy.cloud.common.pw.dao.PwMoneyDiffDetailDao;
import com.liy.cloud.common.pw.entity.PwMoneyDiffDetailEntity;
import com.liy.cloud.common.pw.service.PwMoneyDiffDetailService;
import com.das.framework.common.dao.IBaseDao;
import com.das.framework.common.service.impl.BaseServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName:
 * @Description: 
 * @author 
 * @date: 2018-07-26 18:46:32
 */
@Service
public class PwMoneyDiffDetailServiceImpl extends BaseServiceImpl<PwMoneyDiffDetailEntity, String> implements PwMoneyDiffDetailService {

  @Autowired
  private PwMoneyDiffDetailDao moneyDiffDetailDao;
  
  @Override
  public IBaseDao<PwMoneyDiffDetailEntity, String> getDao() {
    return moneyDiffDetailDao;
  }

  @Override
  public void addList(List<PwMoneyDiffDetailEntity> diffDetailEntityList) throws Exception {
    moneyDiffDetailDao.insertList(diffDetailEntityList);
  }
}